package com.junit.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author CKC
 * @DateTime 2021/11/15 20:22
 */
@RestController
public class HelloController {
    
    @GetMapping("/hello")
    public String helloWorld(@RequestParam("name") String params) {
        return "hello world " + params;
    }
    
    private void dfdf(){
        System.out.println("hello   ....");
    }
}
